import { EntityObjectFactory } from './../entityObjectFactory';
var EntityObject = EntityObjectFactory.GetEntityObjectType();

export class Table extends EntityObject<Table>{
    constructor(ctx?) { super(ctx); }
    id: string = null;
    // 台桌名
    name: string = null;
    //座位数
    capacity: number = null;
    //分区
    zone: any = null;
    //店铺id
    storeId: string = null;
    //排序字段
    showOrder;
    //当前台桌状态 free空闲 / opening 使用中 / reserved 预留 / settled 已结算未关台
    status: string = null;
    //台桌包间桌规则
    feeRuleId: string = null;


    /**
     * 是否锁定
     * 
     * @type {boolean}
     * @memberOf Table
     */
    lock?: any = null;

    toString(): string { return "DeskTable"; }
}